<template>
  <view class="message">
    <block v-for="(item,index) in messageList" :key="index">
      <cmd-cell-item :title="item.title" :addon="item.date"></cmd-cell-item>
    </block>
  </view>
</template>

<script>
    import cmdCellItem from '@/components/cmd-cell-item/cmd-cell-item'
    export default {
        name: "message",
        components:{
            cmdCellItem
        },
        data(){
            return {
                messageList:[
                    {
                        title:'公安学专业-学习消息推送',
                        date:'2019/01/01'
                    },
                    {
                        title:'公安学专业-学习消息推送',
                        date:'2019/01/01'
                    },
                    {
                        title:'公安学专业-学习消息推送',
                        date:'2019/01/01'
                    },
                    {
                        title:'公安学专业-学习消息推送',
                        date:'2019/01/01'
                    }
                ]
            }
        }
    }
</script>

<style scoped>

</style>